package cn.antalk.top.user.api;

import cn.antalk.top.user.entity.User;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: WackyBoy
 * @Date: 2021/12/6 19:52
 */
@RequestMapping("/user")
public interface UserApi {

    @GetMapping("/query")
    ResponseEntity<User> queryUser(@RequestParam("uname") String uname, @RequestParam("password") String password);

}


